﻿<!DOCTYPE html>

<html>
<head>
  <meta name="viewport" content="width=device-width" />
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <meta name="format-detection" content="telephone=no,email=no">
  <meta name="renderer" content="webkit" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <title>@ViewBag.Title</title>
  <link rel="stylesheet" href="~/Content/vendor/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet" href="~/Content/vendor/bootstrap/css/bootstrap-theme.min.css">
  <link rel="stylesheet" href="~/Content/vendor/datetimepicker/bootstrap-datetimepicker.min.css">
  @*<link href="~/Content/vendor/bootstrap-datepicker/css/bootstrap-datepicker.standalone.min.css" rel="stylesheet" />*@
  <link href="~/Content/vendor/select2/css/select2.min.css" rel="stylesheet" />
  <link rel="stylesheet" href="~/Content/css/c.css">
  <style>
    .select2-container .select2-selection--single {
      height: 34px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
      line-height: 32px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
      height: 32px;
    }

    .fc-time {
      display: none;
    }
  </style>
  @RenderSection("mystyle", false)
  @{
    IMT.Models.UserInfo user = new IMT.Models.UserInfo() { Name = "", PositionNameCN = "" };
    if (HttpContext.Current.Session[IMT.Models.UserInfo.SESSION_KEY] != null)
    {
      user = (IMT.Models.UserInfo)HttpContext.Current.Session[IMT.Models.UserInfo.SESSION_KEY];
    }
  }
</head>
<body>
  <header>
    <div class="container">
      <div class="row">
        <div class="col-sm-8">
          <img class="inline-block" src="~/Content/images/logo-L02s.png" alt="储吉日报管理系统">
          @*<h3 class="vm margin-0">储吉日报管理系统</h3>*@
        </div>
        <!-- 用户面板 -->
        <div class="col-sm-4">
          <div class="row">
            <div class="col-sm-4 col-sm-offset-4 font-16 line-height-34 nowrap margin-top-30">
              <i class="glyphicon glyphicon-user vm"></i>
              <span class="btn">@user.Name</span>
            </div>
            <div class="col-sm-4 font-16 line-height-34 margin-top-30">
              <i class="glyphicon glyphicon-off vm"></i>
              <a class="btn btn-link" href="http://imkcore.cjatech.com/SSOAuthClient/LoginOutFromSSO">注销</a>
            </div>
          </div>
        </div>

        <div class="col-sm-12">
          <div class="border-b1 "></div>
        </div>
        <!-- logo 标题 -->
        <!--<div class="col-sm-12">
          <div class="page-header">
            <h1><img src="~/Content/images/logo.png" alt="储吉项目费用管理系统">储吉项目费用管理系统</h1>
          </div>
        </div>-->
      </div>
    </div>
  </header>
  <!-- 导航 -->
  <nav class="margin-top-10">
    <div class="container">
      <div class="row">
        <div class="col-sm-12">
          <ul class="nav nav-pills" id="nav">
            @if (user.PositionNameCN.Equals("项目总监"))
            {

              <li role="presentation"><a href="/PD/Project/indexl1">立项审批</a></li>
              <li role="presentation"><a href="/PD/Project/indexl11">项目人员配置</a></li>
              <li role="presentation"><a href="/PD/Project/indexl12">项目成本核算</a></li>
            }
            else if (user.PositionNameCN.Equals("项目经理"))
            {
              <li role="presentation"><a href="/PM/Project/indexl2">立项列表</a></li>
              <li role="presentation"><a href="/PM/Project/indexl21">项目列表</a></li>
              <li role="presentation"><a href="/PM/Project/indexl23">单日票据审核</a></li>
              <li role="presentation"><a href="/PM/Project/indexl24">报销单审核</a></li>
            }
            else if (user.PositionNameCN.Equals("运营执行"))
            {
              <li role="presentation"><a href="/Run/Project/indexl3">项目列表</a></li>
              <li role="presentation"><a href="/Run/Project/indexl33">单日票据审核</a></li>
              <li role="presentation"><a href="/Run/Project/indexl34">报销单审核</a></li>
            }
            else if (user.PositionNameCN.Equals("财务经理"))
            {
              <li role="presentation"><a href="/Finance/Project/indexl5">单日票据审核</a></li>
              <li role="presentation"><a href="/Finance/Project/indexl51">报销单审核</a></li>
            }

            @*<li role="presentation"><a href="/Teacher/Project/indexl4">我的日程</a></li>
              <li role="presentation" class="indexl43"><a href="/Teacher/Project/indexl43">报销单提报</a></li>*@

            <li class="dropdown indexl43">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">个人中心 <span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="/Dept/Project/level3">我的日报</a></li>
                <li><a href="/Teacher/Project/indexl4">我的日程</a></li>
                <li><a href="/Teacher/Project/indexl43">报销单提报</a></li>
               
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </nav>
  @RenderBody()


  <!-- loading -->
  <div class="modal fade" id="loading" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
      <div class="modal-content padding-10 loading">
        <span class="glyphicon glyphicon-refresh vm"></span>
        <span class="vm">Loading······</span>
      </div>
    </div>
  </div>

<!-- confirm -->
<div class="modal fade" id="confirm" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" aria-labelledby="myModalLabel">
  <div class="modal-dialog modal-sm" role="document">
    <div class="modal-content">
      <div class="modal-header padding-10"><h4>确认删除？</h4></div>
      <div class="modal-footer">
        <button type="button" class="btn btn-danger confirm" data-dismiss="modal">确认</button>
        <button type="button" class="btn btn-primary cancel" data-dismiss="modal">取消</button>
      </div>
    </div>
  </div>
</div>
  <script id="navs" type="text/html">
    {{each $data}}
    <li role="presentation"><a href="{{$value.url}}">{{$value.name}}</a></li>
    {{/each}}
  </script>

  <script src="~/Content/vendor/jquery/jquery.min.js"></script>
  <script src="~/Content/vendor/bootstrap/js/bootstrap.min.js"></script>
  <script src="~/Content/vendor/datetimepicker/bootstrap-datetimepicker.min.js"></script>
  <script src="~/Content/vendor/datetimepicker/lang/bootstrap-datetimepicker.zh-CN.js"></script>
  @*<script src="~/Content/vendor/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
    <script src="~/Content/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>*@
  <script src="~/Content/vendor/select2/js/select2.full.min.js"></script>
  <script src="~/Content/vendor/artTemplate/template.js"></script>
  <script src="~/Content/js/allFn.js"></script>
  <script src="~/Content/js/formCheck.js"></script>
  <script src="~/Content/js/pages.js"></script>
  <script src="~/Content/js/index.js"></script>
  @RenderSection("myscript", false)
</body>
</html>
